package com.ruoyi.project.digital.domain.enums;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.enums.IBaseEnum;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum StaminaTypeEnum implements IBaseEnum<String> {
    //系统是否，0代表否，1代表是
    IN("0","获取"),
    OUT("1","消耗")
    ;

    private String value;

    private String desp;




    StaminaTypeEnum(String value, String desp){
        this.value = value;
        this.desp = desp;
    }

    @Override
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }


}

